﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Evaluate.aspx.cs" Inherits="V5_EShop._Template.Default.Member.Evaluate" %>

<%@ Register Src="Controls/menu.ascx" TagName="menu" TagPrefix="mm" %>
<%@ Register Src="Controls/header.ascx" TagName="header" TagPrefix="mm" %>
<%@ Register Src="Controls/footer.ascx" TagName="footer" TagPrefix="mm" %>
<%@ Register Src="Controls/usermenu.ascx" TagName="usermenu" TagPrefix="mm" %>
<%@ Register Src="Controls/verlogin.ascx" TagName="verlogin" TagPrefix="mm" %>
<mm:verlogin ID="verlogin2" runat="server" />
<%--验证用户登录--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        <%=config.SiteTitle %>-商品品论</title>
    <link href="/_template/<%=config.TemplatePath%>/css/Evaluate.css" rel="stylesheet"
        type="text/css" />
    <link href="/_template/<%=config.TemplatePath%>/css/init.css" rel="stylesheet" type="text/css">
    <link href="/_template/<%=config.TemplatePath %>/css/head.css" rel="stylesheet" type="text/css">

    <script src="/jsfiles/js/gd.js" type="text/javascript"></script>

    <script language="javascript">
        function tab_Change(currentnum, tab, content, fleet, deep, sum) {
            for (var i = 1; i <= sum; i++) { document.getElementById(content + i).style.display = "none"; }
            for (var i = 1; i <= sum; i++) { document.getElementById(tab + i).className = fleet; }
            document.getElementById(tab + currentnum).className = deep;
            document.getElementById(content + currentnum).style.display = "block";
        }
    </script>

</head>
<body>
    <div id="page">
        <mm:header ID="header1" runat="server" />
        <div class="clear">
        </div>
        <div class="banner">
            <img height="72" src="/_template/<%=config.TemplatePath%>/images/Default/guanggao.gif"
                width="950"></div>
        <span style="display: block; margin: 8px 0;">首页 >> 会员后台</span>
        <div class="left">
            <mm:usermenu ID="usermenu1" runat="server" />
            <div class="zuo_xia">
                <div>
                    <img src="/_template/<%=config.TemplatePath%>/images/Default/top.gif" width="195"></div>
                <div class="yhxx">
                    <mm:menu ID="menu1" runat="server" />
                </div>
                <img height="30" src="/_template/<%=config.TemplatePath%>/images/Default/bg_03.gif"
                    width="195"></div>
        </div>
        <form id="form1" runat="server">
        <div class="right">
            <div class="Content">
                <ul class="ul5">
                    <li id="lm1" class="active" onclick="tab_Change(1,'lm','lmc','normal','active',2)">我的商品提问（0）</li>
                    <li id="lm2" class="normal" onclick="tab_Change(2,'lm','lmc','normal','active',2)">我回答过的商品（0）</li>
                </ul>
                <ul class="ul6" id="lmc1">
                    <li>
                        <ul class="ul6_top">
                            <li class="ul6_top_01">商品名称</li>
                            <li class="ul6_top_02">评价内容</li>
                            <li class="ul6_top_04">时间</li>
                            <div class="clear">
                            </div>
                        </ul>
                        <asp:Repeater ID="rpList1" runat="server">
                            <ItemTemplate>
                                <ul class="ul6_content">
                                    <li class="ul6_content_01"><a href="/product-details-<%#DataBinder.Eval(Container.DataItem,"ProductID") %>.aspx" target="_blank"><%# this.Get_Product(DataBinder.Eval(Container.DataItem,"ProductID")).ProductName %></a></li>
                                    <li class="ul6_content_02">
                                        <h2><%#DataBinder.Eval(Container.DataItem, "AskTitle")%></h2>
                                       <%#DataBinder.Eval(Container.DataItem, "AskContent")%></li>
                                    <li class="ul6_content_04"><%#DataBinder.Eval(Container.DataItem, "AddDateTime")%></li>
                                    <div class="clear">
                                    </div>
                                </ul>
                            </ItemTemplate>
                        </asp:Repeater>
                            <webdiyer:AspNetPager ID="Pager1" runat="server" AlwaysShow="True" CustomInfoHTML=""
                                FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                                OnPageChanged="Pager1_PageChanged" PageIndexBoxType="DropDownList" PageSize="5"
                                PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                                TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" CssClass="pager" EnableUrlRewriting="true">
                            </webdiyer:AspNetPager>
                    </li>
                </ul>
                <ul class="ul6" id="lmc2" style="display: none;">
                    <li>
                        <ul class="ul6_top">
                            <li class="ul6_top_01">商品名称</li>
                            <li class="ul6_top_02">评价内容</li>
                            <li class="ul6_top_04">时间</li>
                            <div class="clear">
                            </div>
                        </ul>
                        <asp:Repeater ID="rpList2" runat="server">
                            <ItemTemplate>
                                <ul class="ul6_content">
                                    <li class="ul6_content_01"><a href="/product-details-<%#DataBinder.Eval(Container.DataItem,"ProductID") %>.aspx"><%# this.Get_Product(DataBinder.Eval(Container.DataItem,"ProductID")).ProductName %></a></li>
                                    <li class="ul6_content_02">
                                        <%# DataBinder.Eval(Container.DataItem, "AnswerContent")%>
                                    </li>
                                    <li class="ul6_content_04"><%#DataBinder.Eval(Container.DataItem, "AddDateTime")%></li>
                                    <div class="clear">
                                    </div>
                                </ul>
                            </ItemTemplate>
                        </asp:Repeater>
                            <webdiyer:AspNetPager ID="Pager2" runat="server" AlwaysShow="True" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条"
                                FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                                OnPageChanged="Pager2_PageChanged" PageIndexBoxType="DropDownList" PageSize="5"
                                PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                                TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" CssClass="pager" EnableUrlRewriting="true">
                            </webdiyer:AspNetPager>
                    </li>
                </ul>
            </div>
        </div>
        </form>
        <div class="clear">
        </div>
        <mm:footer ID="footer2" runat="server" />
        <div class="clear">
        </div>
    </div>
</body>
</html>
